Skip to content

feat(inspector): try a choice on the page before keeping it, values shown while dragging, and motion presets played on the canvas (0.34.0) - #44

Merged
nodemode-ai merged 17 commits into
mainfrom
feat/issue-36-reply-0.34.0
Nov 27, 2026
Merged

nodemode-ai merged 17 commits into
mainfrom
feat/issue-36-reply-0.34.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Collaborator

feat(inspector): try a choice on the page before keeping it, values shown while dragging, and motion presets played on the canvas (0.34.0)

Third of the five releases that answer the follow-up on issue #36. It sits directly on main (the 0.33.0 merge, pull request #43); nothing is stacked under it.

Summary

  • A click on a choice in Display, Direction, Align, Justify, Wrap or Text alignment now shows it on the page as a trial. A bar names it ("Trying: Center") with Keep and Revert. Arrow keys, Home and End move the trial. Keep or Enter writes it as one engine command and one undo step; Revert or Escape puts the page back. Until Keep, the revision, undo, other windows, agents and the export see nothing.
  • The Design fields that are lists (Align self, Justify self, Object fit, Weight, Capitals, Kerning, Position, Overflow) open the editor's own list, where a clicked, arrowed or typed item is tried while the list stays open. The field stays the stored value, and a program that sets it still writes at once.
  • A trial ends without writing on another selection, breakpoint or page, a press on the canvas, Preview, another field, another command, a folded section, or the switch being turned off. Undo during a trial (key, menu or toolbar) only puts the trial back; an undo sent by an agent is never used up. A slow Keep holds the value on the page until the answer, so the old value never shows in between; a refused Keep puts the page back.
  • Sliders, the color picker's square and bars and gradient stops show their value on the page while dragged or while a key is held. The release writes once, as before.
  • A click on a motion preset sets it and plays it once on the canvas, computed in the editor with no script, style sheet or animation added to the canvas document. Play again replays it. Nothing plays under reduced motion, and presets the canvas cannot show say they play in Preview.
  • Preferences > Interface and View > Try choices before keeping them turn trying off; choices are then written at once, as in 0.33.0.
  • Fixed on the way: Blur in never showed as active (the engine stores from with sorted keys and the comparison did not); Undo and Redo by shortcut did nothing while a Design list field had focus; Delete and Backspace removed the selected element from the inspector tabs, a section title, a segment button and after a Reset click, because focus was on the page or on a button without its own keys.
  • No engine, model or service change, no new dependency. The canvas gains two style layers (play, trial) drawn over the stored styles; the command registry gains one hook asked before a command runs.

Commits

Oldest first. Hashes are left out because signing changes them.

  • feat(canvas): the canvas can draw temporary styles in two named layers over the stored ones, play and trial, without an engine command and without rebuilding any node, and an empty value shows what the element inherits at the picked breakpoint
  • feat(inspector): a Design field control can hand its pending value to the page while a thumb, the color square or a gradient stop is dragged, and a drag in the color picker is dropped when the brand restriction comes on
  • feat(inspector): a try bar that names the choice being tried with Keep and Revert, and segment groups that try a clicked or arrowed choice instead of writing it
  • feat(inspector): the Design fields that are lists open the editor's own list, where a clicked or arrowed item is tried on the page while the list stays open
  • feat(editor): a clicked choice in Display, Direction, Align, Justify, Wrap, Text alignment and the list fields shows on the page as a trial until Keep or Enter writes it as one undo step, Revert, Escape, Undo, another selection, breakpoint or page put the page back, sliders and the color picker show their value on the page while dragged, and Preferences and the View menu can turn trying off
  • feat(motion): a click on a motion preset sets it and plays it once on the canvas with no script, Play again replays it, nothing plays under reduced motion, effects that only run in Preview say so, and Blur in shows as active
  • i18n: the 15 new strings of 0.34.0 (the try bar, the switch in Preferences and the View menu, the sentences when a trial is not kept, dropped or refused, and the motion presets row) in all 23 languages
  • fix(editor): Undo by key, menu or toolbar during a trial only puts the trial back, also on a site with no history, while an agent's undo is never used up; a pending Keep frees the field when the selection changes; Undo and Redo work from a Design list field; a Reset click and a closed trial never leave focus where Backspace removes the element; an unset trial reads Inherit; motion entries are bounded before they are played
  • fix(inspector): the try bar stays inside the panel of its field in two rows and cuts a long name with an ellipsis, a Keep on the value already stored ends without a sentence, the Preview note under the presets shows only when nothing can be played, and a section title keeps Delete and Backspace to itself
  • fix(editor): a pointer press on the canvas ends a trial, also on the element that is already selected, so a double-click into its text no longer edits under a tried value
  • fix(inspector): a Reset click empties the field as it takes the focus, so the text box no longer keeps showing the cleared value
  • test(editor): the canvas layers through render and setLayer (which layer wins, an empty value under each breakpoint, the same node before and after, refused values) and the preset player through its exported functions (the last frame equals the stored look and the layer is then cleared, delay, stagger, loops, every stop, entries with endless or broken times always end) (38 tests)
  • test(window): trying a choice in the real window: segment groups and the bar, the list fields, every way a trial ends without writing, Undo by key, menu and toolbar, a slow and a refused Keep, values shown on the page while a slider, the color picker or a gradient stop is dragged, motion presets played once and stopped, the switch, and Delete and Backspace never removing an element from a choice, a list, the bar, a tab, a section title or after Reset (134 tests)
  • docs(hashout): frontend v0.34.0, the canvas layers and their order, the try kit and every way a trial ends, the command intercept and the Undo mark, the bar, the segment groups, the list fields and what the browser does on a closed list, values shown while dragging, the preset player and its bounds, and the keys each part keeps
  • docs(guide): the guide, manual, keyboard page, agent quickstart and wiki describe trying a choice with Keep and Revert, the list fields, what ends a trial, values shown on the page while dragging, motion presets played on the canvas and the switch that turns trying off, with three new pictures
  • docs(changelog): 0.34.0, try a choice before keeping it, with the test counts and known gaps
  • chore(release): bump version to 0.34.0

Version

v0.34.0 (release commit is last). Bumped by hand at every site: VERSION, backend/app/config.py, frontend/package.json, frontend/package-lock.json (2 fields), native/Cargo.toml, native/Cargo.lock (4 crates), src-tauri/Cargo.toml, src-tauri/Cargo.lock, src-tauri/tauri.conf.json, the README.md badge, .docs/wiki/Home.md, .claude/skills/formweb-harness/SKILL.md and its mirror in .agents/skills (through ./formweb agents sync).

Checks

Run on the final content, on Linux:

Check Result
cargo test --release --locked in native/ 182 passed
python -m pytest tests in backend/ 612 passed
npx vitest run in frontend/ 701 passed (38 new)
python -m pytest frontend/tests/window in Chromium (Playwright 1.63.0) 462 passed (134 new)
npx tsc --noEmit, ./formweb i18n check (3,029 keys), ./formweb agents sync --check, ./formweb comparisons status, ./formweb library check pass

Every new test was written after its feature had been run and seen to work, by an agent that did not build it, and was seen to fail on a built copy of 0.33.0 and once with a wrong expected value. The features were run by an independent runner in Chromium at 4x CPU slowdown with a slow network, on a demo site and on an imported page: 74 of 75 expected behaviours held on the last build it ran; the open one is listed in the changelog's known gaps (Undo stops a preset's playback when the undo is answered, not at the key press). An independent review found one blocker (an agent's undo was used up during a person's trial), which is fixed and tested.

Not run: the desktop app on any system, Windows, macOS, Firefox, Safari, touch, a pen, a screen reader, and a real system reduced-motion switch. Preventing the browser's own list popup was seen in Chromium only. The canvas press that ends a trial was run by its builder and by the test writer, not by the independent runner. Translations of the 15 new strings are machine made.

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

…s over the stored ones, play and trial, without an engine command and without rebuilding any node, and an empty value shows what the element inherits at the picked breakpoint
… the page while a thumb, the color square or a gradient stop is dragged, and a drag in the color picker is dropped when the brand restriction comes on
…p and Revert, and segment groups that try a clicked or arrowed choice instead of writing it
…wn list, where a clicked or arrowed item is tried on the page while the list stays open
… Wrap, Text alignment and the list fields shows on the page as a trial until Keep or Enter writes it as one undo step, Revert, Escape, Undo, another selection, breakpoint or page put the page back, sliders and the color picker show their value on the page while dragged, and Preferences and the View menu can turn trying off
… the canvas with no script, Play again replays it, nothing plays under reduced motion, effects that only run in Preview say so, and Blur in shows as active
…ences and the View menu, the sentences when a trial is not kept, dropped or refused, and the motion presets row) in all 23 languages
…e trial back, also on a site with no history, while an agent's undo is never used up; a pending Keep frees the field when the selection changes; Undo and Redo work from a Design list field; a Reset click and a closed trial never leave focus where Backspace removes the element; an unset trial reads Inherit; motion entries are bounded before they are played
…o rows and cuts a long name with an ellipsis, a Keep on the value already stored ends without a sentence, the Preview note under the presets shows only when nothing can be played, and a section title keeps Delete and Backspace to itself
…element that is already selected, so a double-click into its text no longer edits under a tried value
…, so the text box no longer keeps showing the cleared value
…yer wins, an empty value under each breakpoint, the same node before and after, refused values) and the preset player through its exported functions (the last frame equals the stored look and the layer is then cleared, delay, stagger, loops, every stop, entries with endless or broken times always end) (38 tests)
…the bar, the list fields, every way a trial ends without writing, Undo by key, menu and toolbar, a slow and a refused Keep, values shown on the page while a slider, the color picker or a gradient stop is dragged, motion presets played once and stopped, the switch, and Delete and Backspace never removing an element from a choice, a list, the bar, a tab, a section title or after Reset (134 tests)
…he try kit and every way a trial ends, the command intercept and the Undo mark, the bar, the segment groups, the list fields and what the browser does on a closed list, values shown while dragging, the preset player and its bounds, and the keys each part keeps
…iki describe trying a choice with Keep and Revert, the list fields, what ends a trial, values shown on the page while dragging, motion presets played on the canvas and the switch that turns trying off, with three new pictures
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 27, 2026 18:40
@nodemode-ai
nodemode-ai merged commit fbec98b into main Nov 27, 2026
3 checks passed
@nodemode-ai
nodemode-ai deleted the feat/issue-36-reply-0.34.0 branch November 27, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant